from config import Config
from utils.faiss_handler import BuitIndex
import schedule
import time

config = Config()
index = BuitIndex(config)

schedule.every(6).days.do(index.bulit,True)
while True:
    schedule.run_pending()
    time.sleep(1)
